<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>PurchaseBeverage FIT Test</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
<!--
.style1 {font-family: Arial, Helvetica, sans-serif}
-->
</style>
</head>

<body>
ExtendBorrow  Acceptance Test 
: <br>In order to extend borrow  the user need to  to insert  Borrow Nunber  and the ISBN of  the book that he wants to extend .<br>user  can request  extentsion of book  borrow  only if there's no orders for this book , and only if left less then a week until the return date . <br>result values of the test : <br>-1 :there was an error in extend process . <br>         0 : this book is overdue ,can't extend .   

<br>1 : more then a week left until return date . <br>2: there are orders for this Book . <br>3 : conifrmed   , borrow allowed and updated in DataBase . <br><br><br>note: return date format need to be as : yyyy-MM-dd    hh:mm:ss
	<table width="765" border="1" cellspacing="0" cellpadding="5"
		style="width: 437px;">
		<tr>
			<td colspan="3" class="style1">fit.ActionFixture</td>
		</tr>
		<tr>
			<td class="style1">start</td>
			<td class="style1">ExtendBorrow</td>
			<td class="style1">&nbsp;</td>
		</tr>
		<tr>
			<td>enter</td>
			<td>enterBorrowNumber</td>
			<td>19</td>
		</tr>



		<tr>
			<td>enter</td>
			<td>enterBookISBN</td>
			<td>147</td>
		</tr>
		<tr>
			<td>enter</td>
			<td>enterReturnDate</td>
			<td>2013-02-01 01:28:33</td>
		</tr>
		<tr>
			<td class="style1">press</td>
			<td class="style1">extend_borrow</td>
			<td class="style1"></td>
		</tr>
		<tr>
			<td class="style1">check</td>
			<td class="style1">Borrow</td>
			<td class="style1" bgcolor="#cfffcf">&nbsp;1</td>
		</tr>



	</table>

	Borrow Extend  FIT Test - Group 4 
</body>
</html>
